<?php
/**
 * Class for the database entity "genre"
 *
 * @author zonk
 */

class GenreModel {
	
	/**
	 * The genre id
	 * @var int
	 */
	private $genreid;
	
	/**
	 * The name of the genre
	 * @var string
	 */
	private $name;
	
	/**
	 * @param int $genreid
	 * @param string $name
	 */
	public function __construct($genreid, $name) {
		$this->genreid = $genreid;
		$this->name = $name;
	}
	
	/**======================================
	 * Getter & Setter
	*=======================================
	*/

	/**
	 * 
	 * @return int
	 */
	public function getGenreid()
	{
	    return $this->genreid;
	}

	/**
	 * 
	 * @param int $genreid
	 */
	public function setGenreid($genreid)
	{
	    $this->genreid = $genreid;
	}

	/**
	 * 
	 * @return string
	 */
	public function getName()
	{
	    return $this->name;
	}

	/**
	 * 
	 * @param string $name
	 */
	public function setName($name)
	{
	    $this->name = $name;
	}
}